package com.syy.spider.service.impl;

import com.syy.spider.dao.PyqMapper;
import com.syy.spider.service.PyqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PyqServiceImpl implements PyqService {
    @Autowired
    private PyqMapper pyqMapper;
    @Override
    public int insertPyq(String title, String con, String url, String username, String date) {
        return pyqMapper.insertPyq(title,con,url,username,date);
    }
}
